html {
    height: 100%;
}

body {
    height: 100%;
    color: #333;
    overflow: hidden;
    font-family: 'Helvetica', 'PingFang SC', 'Microsoft Yahei', sans-serif;
}

#app {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    color: #2c3e50;
    height: 100%;
    width: 100%;
}

// 带单位的input
.input-unit,
.el-input__icon.input-unit {
    color: #44444f !important;
    font-style: normal;
    font-weight: normal;
    border: none;
    line-height: 30px;
}

// 修改medium情况下高度，保持和前缀slot高度一致
.el-form-item--medium .el-form-item__content,
.el-form-item--medium .el-form-item__label {
    line-height: 32px;
}
.el-input--medium .el-input__inner {
    height: 32px;
    line-height: 32px;
}

.el-input--mini .el-input__inner,
.el-input--small .el-input__inner {
    height: 32px;
    line-height: 32px;
}
.el-input-group__append,
.el-input-group__prepend {
    line-height: 30px;
    & .el-button--medium {
        padding: 8px 20px;
    }
}

// 表格里的输入框input
.el-input.el-input--mini input[type='table'] {
    height: 30px;
    line-height: 30px;
    padding: 0 16px;
    border: none;
    border-radius: 0;
    &:hover {
        background-color: #f7f9fc;
    }
}
.el-table__row:hover td .el-input.el-input--mini input[type='table'] {
    background-color: #f7f9fc;
}

// input输入框是number类型的时候去掉小箭头
input::-webkit-inner-spin-button {
    -webkit-appearance: none;
}

input[type='number'] {
    -moz-appearance: textfield;
}

// UI规范里全局4个颜色
.color-blue {
    color: #0062ff;
}

.color-red {
    color: #e50834;
}

.color-green {
    color: #61d291;
}

.color-yellow {
    color: #eaac3f;
}

// 输入框显示字数限制时限制字数提示不遮挡输入内容
.word-limit-show {
    .el-textarea__inner,
    .el-input__inner {
        padding-right: 54px;
    }
}

.stake-tip {
    font-size: 12px;
    line-height: 22px;
    position: absolute;
    left: 0;
}
